package com.ysd.lis.entity.lab;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.lis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 销售项目中间表
 * </p>
 *
 * @author WH
 * @since 2024-11-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("LAB_FINANCE_SALES_FEEITEM")
public class LabFinanceSalesFeeitem extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 销售人员CODE
     */
    @TableField("SALESMAN_CODE")
    private String salesmanCode;

    /**
     * 销售人员名称
     */
    @TableField("SALESMAN_NAME")
    private String salesmanName;

    /**
     * 送检单位ID
     */
    @TableField("COMPANY_ID")
    private String companyId;

    /**
     * 送检单位编码
     */
    @TableField("COMPANY_CODE")
    private String companyCode;

    /**
     * 项目名称
     */
    @TableField("FEE_ID")
    private String feeId;

    /**
     * 项目编码
     */
    @TableField("FEE_CODE")
    private String feeCode;

    /**
     * 佣金方式：1:比例，2:固定值
     */
    @TableField("BROKERAGE_TYPE")
    private String brokerageType;

    /**
     * 佣金值
     */
    @TableField("BROKERAGE")
    private Double brokerage;

    /**
     * 销售提成金额
     */
    @TableField("BROKERAGE_COSTS")
    private Double brokerageCosts;

    @TableField(exist = false)
    private String feeName;

    @TableField(exist = false)
    private Double price;
    /**
     * 原价
     */
    @TableField(exist = false)
    private Double origPrice;
    /**
     * 折扣
     */
    @TableField(exist = false)
    private Double discount;
}
